package hcn.api.service.brandnew;

import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.protocol.brandnew.AdmissionNoteReq;
import hcn.protocol.brandnew.AdmissionNoteResp;
import hcn.protocol.brandnew.GetMedicalRecordInformationReq;
import hcn.protocol.brandnew.GetMedicalRecordInformationResp;

/**
 * 病历相关HIS接口
 *
 * @author neoLin - 2022/06/02 14:45
 **/
public interface MedicalHistoryService {

    /**
     * 获取门诊病历
     */
    @RpcService
    GetMedicalRecordInformationResp getMedicalRecordInformation(String visitOrganization, GetMedicalRecordInformationReq req) throws ControllerException;

    /**
     * 获取住院病历
     */
    @RpcService
    AdmissionNoteResp getAdmissionNote(String visitOrganization, AdmissionNoteReq req) throws ControllerException;
}
